//
//  KFAnimationInfo.h
//  Imp
//
//  Created by Alex Carter on 24/06/09.
//  Copyright 2009 __MyCompanyName__. All rights reserved.
//

#import <Foundation/Foundation.h>

@class CAAnimation;
@class KFAnimationState;

@interface KFAnimationInfo : NSObject 
{
    CFTimeInterval beginTime;
    CFTimeInterval endTime;    
    KFAnimationState* beginState;
    KFAnimationState* endState;
    NSString *key;
    CAAnimation *animation;
    id actor;
}
@property (assign) CFTimeInterval beginTime;
@property (assign) CFTimeInterval endTime;
@property (retain) KFAnimationState* beginState;
@property (retain) KFAnimationState* endState;
@property (retain) NSString *key;
@property (retain) CAAnimation *animation;
@property (retain) id actor;

+ (KFAnimationInfo*) animationInfo;
+ (KFAnimationInfo*) animationInfoWithAnimation:(CAAnimation*) theAnimation andActor:(id) theActor;

- (id) initWithAnimation:(CAAnimation*) theAnimation andActor:(id) theActor;


@end
